﻿namespace WMS6.Web.AnalyticsReportService2Ref
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="DeliveryOrderRptQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity")]
    public class DeliveryOrderRptQueryEntity : BaseQuery
    {
        [OptionalField]
        private string BeginDateField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CustomerIDField;
        [OptionalField]
        private string DeliveryOrderIDField;
        [OptionalField]
        private string EndDateField;
        [OptionalField]
        private string ExternOrderId2Field;
        [OptionalField]
        private string ExternOrderIDField;
        [OptionalField]
        private string OwnerIDField;
        [OptionalField]
        private string ReceiptedField;
        [OptionalField]
        private string StatusField;

        [DataMember]
        public string BeginDate
        {
            get
            {
                return this.BeginDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.BeginDateField, value))
                {
                    this.BeginDateField = value;
                    base.RaisePropertyChanged("BeginDate");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CustomerID
        {
            get
            {
                return this.CustomerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CustomerIDField, value))
                {
                    this.CustomerIDField = value;
                    base.RaisePropertyChanged("CustomerID");
                }
            }
        }

        [DataMember]
        public string DeliveryOrderID
        {
            get
            {
                return this.DeliveryOrderIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DeliveryOrderIDField, value))
                {
                    this.DeliveryOrderIDField = value;
                    base.RaisePropertyChanged("DeliveryOrderID");
                }
            }
        }

        [DataMember]
        public string EndDate
        {
            get
            {
                return this.EndDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.EndDateField, value))
                {
                    this.EndDateField = value;
                    base.RaisePropertyChanged("EndDate");
                }
            }
        }

        [DataMember]
        public string ExternOrderID
        {
            get
            {
                return this.ExternOrderIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExternOrderIDField, value))
                {
                    this.ExternOrderIDField = value;
                    base.RaisePropertyChanged("ExternOrderID");
                }
            }
        }

        [DataMember]
        public string ExternOrderId2
        {
            get
            {
                return this.ExternOrderId2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExternOrderId2Field, value))
                {
                    this.ExternOrderId2Field = value;
                    base.RaisePropertyChanged("ExternOrderId2");
                }
            }
        }

        [DataMember]
        public string OwnerID
        {
            get
            {
                return this.OwnerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerIDField, value))
                {
                    this.OwnerIDField = value;
                    base.RaisePropertyChanged("OwnerID");
                }
            }
        }

        [DataMember]
        public string Receipted
        {
            get
            {
                return this.ReceiptedField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReceiptedField, value))
                {
                    this.ReceiptedField = value;
                    base.RaisePropertyChanged("Receipted");
                }
            }
        }

        [DataMember]
        public string Status
        {
            get
            {
                return this.StatusField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StatusField, value))
                {
                    this.StatusField = value;
                    base.RaisePropertyChanged("Status");
                }
            }
        }
    }
}

